package com.boyunv.chainduty.example01;

import lombok.Setter;

/*
 *@description
 * 抽象处理z者类
 *@author boyunv
 *@create 2023/8/19 21:05
 *@version 1.0
 */

public abstract  class Handler {
    //后继处理者引用
    @Setter
    protected   Handler  successor;
    
    public   abstract void  handle(RequestData requestData);
    
}
